package com.dq.Service;


import com.dq.Pojo.Teacher;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TeaService {

    void addtea(Teacher teacher);

    Teacher findtea(Integer id);

    void update(Teacher teacher);

    PageInfo<Teacher> findAll(Integer pageNum, Integer pageSize, String name, String teano);

    void delete(Integer id);

    List<Teacher> find();
}
